home *** CD-ROM | disk | FTP | other *** search
- 'Change the orientation of the printer between Landscape
- 'and Portrait. The original code came from Dennis Harrington
- 'aided by Costas Kitsos with corrections by Nelson Ford,
- 'Public (software) Library
-
- DefInt A-Z
- Type Orient
- Orientation As Long
- Pad As String * 16
- End Type
-
- Declare Function PrtOrient% Lib "GDI" Alias "Escape" (ByVal hDc%, ByVal nEsc%, ByVal nLen%, lpData As Orient, lpOut As Any)
- Global prtO As Orient
-
-
- 'Also included is a routine to change paper bins:
-
- Type BinInfo
- BinNumber As Integer
- nBins As Integer
- res As String * 8
- End Type
- Declare Function Escape Lib "GDI" (ByVal hDc, ByVal nEscape, ByVal nCount, Indata As Any, OutData As Any)
- Global Const GETSETPAPERBINS = 29
-
-